Object - Oriented Programming , Descriptive Markup , and TEX Arthur
نویسنده
چکیده
I describe a synthesis withn TEX of descriptive markup and object-oriented programming. An underlying formatting system may use a number of different collections of user-level markup, such as LATEX or SGML. I give an extension of WX's markup scheme that more effectively addresses the needs of a production environment. The implementation of such a system benefits from the use of the model of object-oriented programming. LATEX environments can be thought of as objects, and several environments may share functionality donated by a common, more general object. Ths article is a companion to William Baxter's "An Object-Oriented Programming System in TEX." I believe that the key to cost-effective production of T$ documents in a commercial setting is descriptive markup. That is, the document being processed contains content organized by codes, the latter describing the structure of the document, but not directly mandating the format. The formatting of such a document is embodied in a separate module (usually a file of definitions of formatting procedures) which represents the implementation of a typographc specification (typespec). Thus, descriptive markup achieves the separation of document instance from formatting engine. At the same time, the key to cost-effective generation of document formatters in TEX is found in the paradigms of object-oriented programming (OOP). Typographc elements are treated as objects, with data and methods. The formatter is a collection of code modules with well-defined boundaries and communication pathways. The programmer can take advantage of oop techniques such as object encapsulation, data-hiding, and inheritance to create robust, easy-to-maintain, powerful formatters. For the purposes of this article, FQX and SGML will be used as specific instances of descriptive coding schemes, but other methods that cleave to the standards of descriptive markup are not excluded. In particular, databases are very descriptive in nature , and the processing engine described in ths and the next paper will process such data well. The present article discusses issues of descriptive markup and object-oriented programming as relate to TEX and document processing. The next article gives implementation details of the processing engine. Advantages of WX's Descriptive Markup. The descriptive markup of LATEX bestows numerous advantages on thls document processing system, malung it the predominant TEX macro package.
منابع مشابه
An Object-Oriented Programming System in TEX
This paper describes the implementation of an object-oriented programming system in TEX. The system separates formatting procedures from the document markup. It offers design programmers the benefits of object-oriented programming techniques. The inspiration for these macros comes from extensive book-production experience with W&X. This paper is a companion to Arthur Ogawa's "Object-Oriented Pr...
متن کاملDeclarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملA Practical Guide to Testing Object-Oriented Software
€ The Art of Software Testing”, Glenford J. Further, one very well known but general patterns, and tools”, provides several patterns that are handy for practical use (6). My attention span can't appreciate “Testing Object-Oriented Systems: + Markup: A Guide to the Microsoft Windows Presentation Foundation ebook. API (Practical and Object-Oriented Programming) eBook: Alexander Harrison, Course G...
متن کاملA Structural Comparison of LATEX and FrameMaker
LATEX [1,2] and FrameMaker TM (e.g. [3]) both employ text markup, i.e. they use annotations rather than actual format to indicate the layout of text. Markup languages belong to a family that includes HTML (HyperText Markup Language [4]), derivatives of roff (Run-Off Language) and SGML (Standard Generalized Markup Language [5]). Although LATEX and FrameMaker superficially share the same approach...
متن کاملADDS: A Document-Oriented Approach for Application Development
This paper proposes a document oriented paradigm to the development of contentintensive, document-based applications (e.g. educational and hypermedia applications, and knowledge based systems). According to this paradigm, the main aspects of this kind of applications can be described by means of documents. Afterwards, these documents are marked up using descriptive domain-specific markup langua...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1994